package com.java.command;

/**
 * @Author: TongRui乀
 * @Date: 2019-12-16 16:14
 * @description：   调用者   面向Command编程
 *                  若是命令队列  面向CommandQueue编程
 */
public class ClientInvoker {

    private Command command;

    public void setCommand(Command command){
        this.command = command;
    }

    public void operator(){
        command.execute();
    }
}
